<div class="header">
    <back-Btn></back-Btn>
    付款单
    <div class="right-btn" ng-click="submit()">
        提交
    </div>
</div>
<div class="container finance">
    <div class="list f_sk">
        <div class="list-item flex icon_menu required" ng-click="getpaytype()">
            <div class="w40 c9">付款类型:</div>
            <div class="w60" ng-class="{cd9:!param.typeContent&&!param.type}">{{param.typeContent||param.type||"必填"}}</div>
        </div>
        <div class="list-item flex icon_menu required" ng-click="showSheet('paywayObj')">
            <div class="w40 c9">付款方式:</div>
            <div class="w60" ng-class="{cd9:!param.methodContent&&!param.method}">{{param.methodContent||param.method||"必填"}}</div>
        </div>
        <div class="list-item no-border">
            <div class="c9">款项来源人:</div>
            <input type="text" ng-model="param.moneyRes" />
        </div>
        <div class="list-item no-border">
            <div class="c9">公司收款账户:</div>
            <input type="text" ng-model="param.receiptName" />
        </div>
        <div class="list-item flex required">
            <div class="w40 c9">付款金额:</div>
            <div class="w60">
                <input type="text" ng-model="param.amount" placeHolder="必填" tel-directive />
            </div>
        </div>
        <div class="list-item list-item-textarea no-border required">
            <div class="c9">收款人:</div>
            <input type="text" placeHolder="必填" ng-model="param.acceptCompany" />
        </div>
        <div class="list-item list-item-textarea no-border required">
            <div class="c9">收款人账号:</div>
            <input type="text" placeHolder="必填" ng-model="param.acceptAccount" />
        </div>
        <div class="list-item list-item-textarea no-border required">
            <div class="c9">收款人开户行:</div>
            <input type="text" placeHolder="必填" ng-model="param.acceptBank" />
        </div>
        <div class="list-item icon_menu flex" ng-click="showrelModule()">
            <div class="w40 c9">关联模块:</div>
            <div class="w60"> {{param.relatedModuleName}}</div>
        </div>
        <div class="list-item icon_rightArrow flex" ng-click="chooseinfo()" ng-class="{required:param.relatedModuleName&&param.relatedModuleName!=='无'}">
            <div class="w40 c9">模块编号:</div>
            <div class="w60" ng-class="{cd9:!param.moduleNo}">{{param.moduleNo||"点击选择"}}</div>
        </div>
        <div class="list-item flex required">
            <div class="w40 c9">付款事由:</div>
            <div class="w60">
                <input type="text" placeHolder="必填" ng-model="param.payReason" />
            </div>
        </div>
        <!-- 自定义字段 -->
        <div user-defined field-map="param.fieldMap" validation="validation"></div>
        <!-- 附件 -->
        <div class="list-item list-item-textarea" file-upload file-data="param.attachment">
        </div>
        <!-- 审查日志 -->
        <div log-list log-result='logData.result'></div>
        <!-- 删除流程 -->
        <div delete-flow id="{{param.processInstanceId}}" ng-show="logData.result.length"></div>
    </div>
</div>
<sheet-action ng-show="sheetObj.ifshowSheet" sheet-data="sheetObj"></sheet-action>